import axios from "axios";

const classApi = {
  getClass(data) {
    return axios.get("/classes/getClasses", data)
  },
  getClassById(data) {
    return axios.get("/classes/getClassesBySubjectsId", data)
  },
  deleteClass(data) {
    return axios.delete("/classes/deleteClasses", data)
  },
  addClass(data) {
    return axios.post("/classes/addClasses", data)
  }
}

export default classApi